package com.tql.mall.order.client.impl;

import com.tql.mall.model.order.OrderInfo;
import com.tql.mall.order.client.OrderFeignClient;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: tyk
 * @Date: 2023/5/26 16:44
 * @Description:
 */
@Component
public class OrderDegradeFeignClient implements OrderFeignClient {
    @Override
    public Map<String, Object> trade() {
        return new HashMap<>();
    }

    @Override
    public OrderInfo getOrderInfo(Long orderId) {
        return new OrderInfo();
    }

    @Override
    public void updateOrderStatus(Long orderId, Integer flag) {
    }
}
